///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "MainFrame.h"

///////////////////////////////////////////////////////////////////////////

MainFrame::MainFrame( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );

	wxBoxSizer* bSizer1;
	bSizer1 = new wxBoxSizer( wxVERTICAL );

	wxBoxSizer* bSizer2;
	bSizer2 = new wxBoxSizer( wxHORIZONTAL );

	m_staticText1 = new wxStaticText( this, wxID_ANY, _("地址："), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText1->Wrap( -1 );
	bSizer2->Add( m_staticText1, 0, wxALIGN_CENTER|wxALL, 5 );

	m_cmbox_address = new wxComboBox( this, wxID_ANY, _("Combo!"), wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
	bSizer2->Add( m_cmbox_address, 1, wxALL, 5 );

	m_btn_read = new wxButton( this, wxID_ANY, _("读取"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer2->Add( m_btn_read, 0, wxALL, 5 );

	m_btn_addcfg = new wxButton( this, wxID_ANY, _("+"), wxDefaultPosition, wxDefaultSize, 0 );
	m_btn_addcfg->SetMinSize( wxSize( 20,-1 ) );

	bSizer2->Add( m_btn_addcfg, 0, wxALL, 5 );

	m_btn_delcfg = new wxButton( this, wxID_ANY, _("-"), wxDefaultPosition, wxDefaultSize, 0 );
	m_btn_delcfg->SetMinSize( wxSize( 20,-1 ) );

	bSizer2->Add( m_btn_delcfg, 0, wxALL, 5 );


	bSizer1->Add( bSizer2, 0, wxEXPAND, 5 );

	m_txt_Data = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
	bSizer1->Add( m_txt_Data, 1, wxALL|wxEXPAND, 5 );

	wxBoxSizer* bSizer3;
	bSizer3 = new wxBoxSizer( wxHORIZONTAL );


	bSizer3->Add( 0, 0, 1, wxEXPAND, 5 );

	m_btn_write = new wxButton( this, wxID_ANY, _("更新Hosts"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer3->Add( m_btn_write, 0, wxALL|wxEXPAND, 5 );


	bSizer3->Add( 0, 0, 1, wxEXPAND, 5 );


	bSizer1->Add( bSizer3, 0, wxEXPAND, 5 );


	this->SetSizer( bSizer1 );
	this->Layout();

	this->Centre( wxBOTH );
}

MainFrame::~MainFrame()
{
}
